<template>
	<view>
		<view class="m-2 pl-3 bg-white rounded-20">
			<view class="" v-for="(item,index) in langueList" :key="index" @click="tab_lang(index)">
				<view class="d-flex j-sb border-bottom">
					<view class="py-3">{{item}}</view>
					<view class="py-3" v-if="langueIndex===index">
						<image  class="icon_selected mr-3" src="../../static/images/goods/icon_selected.png" mode=""></image>
					</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				langueList:["简体中文","繁体中文","English"],
				langueIndex:0
			}
		},
		methods: {
			tab_lang(i){
				this.langueIndex=i
			}
		}
	}
</script>

<style>
	.icon_selected{
		width: 40upx;
		height: 40upx;
	}
</style>
